﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MediaScraper.Adapters.Plex.Entities
{
    [Table("section_locations")]
    public class SectionLocation
    {
        [Key]
        [Column("id")]
        public Int64 Id { get; set; }
        [Column("root_path")]
        public string RootPath { get; set; }
        [Column("library_section_id")]
        public Int64 SectionId { get; set; }
         [ForeignKey("SectionId")]
        public LibrarySection Section { get; set; }
    }
}
